package com.qhg.saas_server.empty;

import com.qhg.saas_server.pojo.Product;
import com.qhg.saas_server.pojo.Producttype;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 *商品查询请求实体封装
 */
@AllArgsConstructor
@NoArgsConstructor
@Data
public class ReqQueryProduct {
    //供货商名、品牌商名、商品类型
    private String supName;
    private String brandName;
    private String productType;
    //当前页码
    private Integer currentPage;
    //旧值
    private String olds;
    //商品
    private Product product;
    //商品类型
    private Producttype producttype;
    //others
    private String productName;

    //lombok生成的getter、setter命名冲突，需要手动生成
    public String getProductType() {
        return productType;
    }

    public Producttype getProducttype() {
        return producttype;
    }

    public void setProductType(String productType) {
        this.productType = productType;
    }

    public void setProducttype(Producttype producttype) {
        this.producttype = producttype;
    }
}
